<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
     .box1 {
        -webkit-animation: none;
        -ms-flex: auto;
        -moz-animation: alternate;
        -o-animation: alternate;
    } 

    .item-c1 ~ .item-c {
        font-size: 40px;
    } 


     a {
        font-size: 40px;
        text-decoration: none;
    }
    a:link {
        color: chartreuse;
    }
    /* :active 链接点击时(一瞬间) ,:active 要放在hover和active的上面,不然会被active覆盖 */
   a:visited {
        color: chocolate;
    }
    a:hover {
        color: skyblue;
    }
    a:active {
        color: crimson;
    }


    .button:checked {
        background-color: #ca7a7a;
    }
    .inputbox:focus {
        background-color: rgb(87, 63, 63);
    }

    .textshowp1 {
        text-shadow: 10px 10px 5px #b0b0b0;
    }

    .box2 {
        width: 200px;
        height: 200px;
        margin-top: 30px;
        background-color: skyblue;
        box-shadow: 20px 25px 20px #b0b0b0;
        /* box-shadow : -px左px右 , -px上px下  , 模糊度 , 颜色;
        box-shadow: h-shadow(x) v-shadow(y) blur(模糊半径) spread(扩展半径) color(颜色) inset(是否内嵌,可省略) */
    } 

    .box3 {
        width: 300px;
        height: 40px;
        margin-top: 40px;
        background-color: red;

        /* 圆角属性 border-radius */
        border-radius: 20px 0 0 20px;
    }

    .box4 {
        width: 200px;
        height: 200px;
        background-color: green;
        transition: 1.3s ;

    }
    .box4:hover {
        transform: translate(800px,-800px) scale(10,10) rotate(1080deg) ;
        background-color: rgba(143, 248, 110, 0.733);
        opacity: 0.4;
        
    }
</style>
<body>
        <div class="box1"></div>

        <!-- 紧邻兄弟选择器+ ,通用兄弟选择器 ~ -->
        <ul class="item">
            <li class="item-c1">1</li>
            <li class="item-c">2</li>
            <li class="item-c">3</li>
            <li class="item-c">4</li>
            <li class="item-c">5</li>
        </ul>

        <!-- 伪类选择器   -->
        <a href="https://www.bilibili.com/">打开</a> <br>

        <input type="radio" class="button">芜湖 <br>
        <input type="text" value="输入框" class="inputbox">

        <p class="textshowp1">将图标制作成字体包, 这样我们就可以将图标当做一个字来对待,对齐设置大小和颜色,实现图标的变色.</p>
        <div class="box2"></div>

        <div class="box3"></div>


        <div class="box4"></div>
</body>
</html>